import request from './api'

// 修改资料
export function code (data) {
  return request({
    url: 'chat/Msgal/msg_dx',
    method: 'post',
    data
  })
}
export function baseToQiniu (data) {
  return request({
    url: '/chat/chat/baseTo_qiniu',
    method: 'post',
    data
  })
}

// 提交评论
export function proposal (data) {
  return request({
    url: '/Chat/chat/proposal',
    method: 'post',
    data
  })
}
export function bandphone (data) {
  return request({
    url: '/chat/chat/bandphone',
    method: 'post',
    data
  })
}
export function addInformation (data) {
  return request({
    url: '/chat/chat/add_information',
    method: 'post',
    data
  })
}
export function personupload (data) {
  return request({
    headers: {'Content-Type': 'multipart/form-data'},
    url: '/information/shopshop/personupload',
    method: 'post',
    data
  })
}

// 个人中心
export function user_list (data) {
  return request({
    url: '/Chat/chat/user_list',
    method: 'post',
    data
  })
}
// 购买记录
export function shop_log (data) {
  return request({
    url: '/Chat/chat/shop_log',
    method: 'post',
    data
  })
}
// 收藏
export function collection_onclick (data) {
  return request({
    url: '/Chat/chat/collection_onclick',
    method: 'post',
    data
  })
}
// 收藏
export function user_ke (data) {
  return request({
    url: '/Chat/chat/user_ke',
    method: 'post',
    data
  })
}
// 讲师关注列表
export function user_follow (data) {
  return request({
    url: '/Chat/chat/user_follow',
    method: 'post',
    data
  })
}
// 关注按钮
export function follow_lecturer (data) {
  return request({
    url: '/Chat/chat/follow_lecturer',
    method: 'post',
    data
  })
}

// 提现记录
export function forward_list (data) {
  return request({
    url: '/Chat/chat/forward_list',
    method: 'post',
    data
  })
}

// 推广收益
export function distribution (data) {
  return request({
    url: '/Chat/chat/distribution',
    method: 'post',
    data
  })
}

// 我的钱包
export function typeToOne (data) {
  return request({
    url: '/chat/cash/type_to_one',
    method: 'post',
    data
  })
}
// 优惠券
export function forward (data) {
  return request({
    url: '/chat/cash/forward',
    method: 'post',
    data
  })
}
export function nocash (data) {
  return request({
    url: '/chat/cash/no_cash',
    method: 'post',
    data
  })
}
export function examineIng (data) {
  return request({
    url: '/chat/cash/examine_ing',
    method: 'post',
    data
  })
}
// 待领取优惠券
export function dlcoupons (data) {
  return request({
    url: '/Chat/chat/dl_coupons',
    method: 'post',
    data
  })
}
// 我的优惠券
export function imcoupons (data) {
  return request({
    url: '/Chat/chat/im_coupons',
    method: 'post',
    data
  })
}
export function invalidCoupon (data) {
  return request({
    url: '/Chat/chat/invalid_coupon',
    method: 'post',
    data
  })
}
// 帮助中心
export function listfic (data) {
  return request({
    url: '/helpcenter/v1.helpcenter/listfic',
    method: 'post',
    data
  })
}

export function listhelp (data) {
  return request({
    url: '/helpcenter/v1.helpcenter/listhelp',
    method: 'post',
    data
  })
}

export function cashdetails (data) {
  return request({
    url: '/chat/cash/cash_details',
    method: 'post',
    data
  })
}
export function cashInfoLog (data) {
  return request({
    url: '/chat/cash/cash_info_log',
    method: 'post',
    data
  })
}

export function getReady (data) {
  return request({
    url: '/chat/cash/get_ready',
    method: 'post',
    data
  })
}
// 银行卡提示绑定
export function isbankcard (data) {
  return request({
    url: '/adminchat/v1.bankcard/is_bank_card',
    method: 'post',
    data
  })
}
// 银行卡绑定编辑
export function usercardbank (data) {
  return request({
    url: 'adminchat/v1.bankcard/user_card_bank',
    method: 'post',
    data
  })
}
export function proposalList (data) {
  return request({
    url: 'Chat/chat/proposal_list',
    method: 'post',
    data
  })
}
export function proposalCount (data) {
  return request({
    url: 'Chat/chat/proposal_count',
    method: 'post',
    data
  })
}
export function spellgroup (data) {
  return request({
    url: 'assemble/v1.assemble/spell_group',
    method: 'post',
    data
  })
}
